package com.wl.service;

import com.wl.model.NewsInfo;
import org.apache.commons.lang3.tuple.Pair;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by wu on 2018/4/18.
 */
public interface NewsService {
    Pair<Integer, List<NewsInfo>> newsInfoList(Integer page, Integer pageSize, String title,String status);

    NewsInfo add(NewsInfo newsInfo,Long userId);

    NewsInfo del(Long newsId,Long userId);
}
